/*
 * Filename:    AuditProblemBean.java
 * Copyright:   2014 中国平安保险（集团）股份有限公司 版权所有
 * Company:     平安科技养老险及健康险系统开发部
 * Create at:   2014-11-15
 */
package com.paic.mhis.hcpms.audit.dto;

import java.io.Serializable;
import java.util.Date;

import com.paic.mhis.hcpms.audit.util.GetFormDateUtil;

public class AuditProblemDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	private String idAuditProblem;

	private String problemNo; // 事件号

	private String problemStatus; // 事件状态

	private Date problemStart; // 事件时段 开始

	private Date problemEnd; // 事件时段 结束

	private String keyPoint; // 事件要点

	private String detailDesc; // 详细情况

	private String caseCode; // 关联案件号

	private String targetType; // 主体对象类型(1-医疗机构2-医护人员3-参保人员,即字典表hcpms_code_list对应code：audit_target_type)

	private String submitUsername; //

	private Date submitDate; // 提交时间

	private String sourceType; // 来源方式

	private String complaintType; // 投诉方式

	private String contactUsername; // 联系人

	private String contactPhone; // 联系电话

	private String contactMail; // 联系邮箱

	private String contactAddress; // 联系地址

	private String isDeleted;

	private String sourceTarget; // 来源对象

	private Date hearDate; // 受理时间

	private String tempFlag;

	private String createdBy;

	private Date createdDate;

	private String updateBy;

	private Date updateDate;

	private String problemTimeStart;

	private String problemTimeEnd;

	private String hearDateString;

	private String submitDateString;

	private String periodDate;

	public String getSubmitDateString() {
		return GetFormDateUtil.getStrFromDate(submitDate);
	}

	public void setSubmitDateString(String submitDateString) {
		this.submitDateString = submitDateString;
	}

	public String getPeriodDate() {
		if (null != problemStart && null != problemEnd) {

			return GetFormDateUtil.getStrFromDate(problemStart) + " - "
					+ GetFormDateUtil.getStrFromDate(problemEnd);
		} else {
			return "";
		}
	}

	public void setPeriodDate(String periodDate) {
		this.periodDate = periodDate;
	}

	public String getIdAuditProblem() {
		return idAuditProblem;
	}

	public void setIdAuditProblem(String idAuditProblem) {
		this.idAuditProblem = idAuditProblem;
	}

	public String getProblemNo() {
		return problemNo;
	}

	public void setProblemNo(String problemNo) {
		this.problemNo = problemNo;
	}

	public String getProblemStatus() {
		return problemStatus;
	}

	public void setProblemStatus(String problemStatus) {
		this.problemStatus = problemStatus;
	}

	public Date getProblemStart() {
		return problemStart;
	}

	public void setProblemStart(Date problemStart) {
		this.problemStart = problemStart;
	}

	public Date getProblemEnd() {
		return problemEnd;
	}

	public void setProblemEnd(Date problemEnd) {
		this.problemEnd = problemEnd;
	}

	public String getKeyPoint() {
		return keyPoint;
	}

	public void setKeyPoint(String keyPoint) {
		this.keyPoint = keyPoint;
	}

	public String getDetailDesc() {
		return detailDesc;
	}

	public void setDetailDesc(String detailDesc) {
		this.detailDesc = detailDesc;
	}

	public String getCaseCode() {
		return caseCode;
	}

	public void setCaseCode(String caseCode) {
		this.caseCode = caseCode;
	}

	public String getTargetType() {
		return targetType;
	}

	public void setTargetType(String targetType) {
		this.targetType = targetType;
	}

	public String getSubmitUsername() {
		return submitUsername;
	}

	public void setSubmitUsername(String submitUsername) {
		this.submitUsername = submitUsername;
	}

	public Date getSubmitDate() {
		return submitDate;
	}

	public void setSubmitDate(Date submitDate) {
		this.submitDate = submitDate;
	}

	public String getSourceType() {
		return sourceType;
	}

	public void setSourceType(String sourceType) {
		this.sourceType = sourceType;
	}

	public String getComplaintType() {
		return complaintType;
	}

	public void setComplaintType(String complaintType) {
		this.complaintType = complaintType;
	}

	public String getContactUsername() {
		return contactUsername;
	}

	public void setContactUsername(String contactUsername) {
		this.contactUsername = contactUsername;
	}

	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	public String getContactMail() {
		return contactMail;
	}

	public void setContactMail(String contactMail) {
		this.contactMail = contactMail;
	}

	public String getContactAddress() {
		return contactAddress;
	}

	public void setContactAddress(String contactAddress) {
		this.contactAddress = contactAddress;
	}

	public String getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(String isDeleted) {
		this.isDeleted = isDeleted;
	}

	public String getSourceTarget() {
		return sourceTarget;
	}

	public void setSourceTarget(String sourceTarget) {
		this.sourceTarget = sourceTarget;
	}

	public Date getHearDate() {
		return hearDate;
	}

	public void setHearDate(Date hearDate) {
		this.hearDate = hearDate;
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getProblemTimeStart() {
		return problemTimeStart;
	}

	public void setProblemTimeStart(String problemTimeStart) {
		this.problemTimeStart = problemTimeStart;
	}

	public String getProblemTimeEnd() {
		return problemTimeEnd;
	}

	public void setProblemTimeEnd(String problemTimeEnd) {
		this.problemTimeEnd = problemTimeEnd;
	}

	public String getHearDateString() {
		return hearDateString;
	}

	public void setHearDateString(String hearDateString) {
		this.hearDateString = hearDateString;
	}

	public String getTempFlag() {
		return tempFlag;
	}

	public void setTempFlag(String tempFlag) {
		this.tempFlag = tempFlag;
	}

}
